<template>
  <div>
    <a v-bind:href="url">百度一下</a>
    <a :href="url">百度一下</a>

    <img v-bind:src="imgUrl" alt="" />
    <img :src="imgUrl" alt="" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      url: "https://www.baidu.com",
      imgUrl: "https://cn.vuejs.org/images/logo.svg",
    };
  },
};
</script>

<style>
</style>